<!DOCTYPE html>
<html>
<head>
<style>
a { color: blue; }
</style>
</head>
<body>
<p>This test ensures that the default focus ring is not drawn on anchors even after pressing a key while the anchor is focused.</p>
<p><a id="anchor" href="#">Anchor without tabindex</a></p>

<script>
window.onload = function() {
    if (window.eventSender) {
        var aElement = document.getElementById('anchor');
        eventSender.mouseMoveTo(aElement.offsetLeft + 2, aElement.offsetTop + 2);
        eventSender.mouseDown();
        eventSender.keyDown('E');
    }
};
</script>
</body>
</html>
